<#assign base=request.contextPath>
<link href="${base}/resources/3rdlib/froalaeditor/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="${base}/resources/3rdlib/froalaeditor/css/froala_editor.min.css" rel="stylesheet" type="text/css">
<link href="${base}/resources/3rdlib/froalaeditor/css/froala_style.min.css" rel="stylesheet" type="text/css">

<script src="${base}/resources/3rdlib/froalaeditor/js/froala_editor.min.js"></script>
<!--[if lt IE 9]>
    <script src="${base}/resources/3rdlib/froalaeditor/js/froala_editor_ie8.min.js"></script>
<![endif]-->
<script src="${base}/resources/3rdlib/froalaeditor/js/langs/zh_cn.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/tables.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/lists.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/colors.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/font_family.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/font_size.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/block_styles.min.js"></script>
<script src="${base}/resources/3rdlib/froalaeditor/js/plugins/video.min.js"></script>

<script type="text/javascript">
	$(function(){
          $('#${editorName}')
            .editable({inlineMode: false,language:'zh_cn',minHeight:200,maxHeight:300, pastedImagesUploadURL:'${base}/upload/image?hasRoot=true',imageUploadURL:'${base}/upload/image?hasRoot=true'})
      });
</script>

<textarea id='${editorName}' name="${editorName}" placeholder="" >${editorValue}</textarea>